import { BadRequest, NotFound } from 'http-errors'
import Attribute from '@/database/models/attribute'
import AttributeValue from '@/database/models/attributevalue'

const addValue = async (value: string) => {
  const attrValue = await AttributeValue.create({
    value,
  })
  return attrValue
}

export default {
  addValue,
}
